package cn.stylefeng.guns.modular.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 验证码
 * </p>
 *
 * @author yumker
 * @since 2021-01-11
 */
@TableName("flow_phone_code")
public class FlowPhoneCode implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "phone_code_id", type = IdType.AUTO)
    private Long phoneCodeId;

    @TableField("phone")
    private String phone;

    @TableField("code")
    private String code;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField("type")
    private Integer type;


    public Long getPhoneCodeId() {
        return phoneCodeId;
    }

    public void setPhoneCodeId(Long phoneCodeId) {
        this.phoneCodeId = phoneCodeId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "FlowPhoneCode{" +
        "phoneCodeId=" + phoneCodeId +
        ", phone=" + phone +
        ", code=" + code +
        ", createTime=" + createTime +
        ", type=" + type +
        "}";
    }
}
